Image capturing apparatus

ABSTRACT

An image capturing apparatus is provided with a pixel array that has a plurality of image forming pixels and a plurality of focus detection pixels, a readout unit that reads out a pixel signal from the pixel array, an A/D conversion unit that has a first mode for A/D converting the pixel signal read out by the readout unit with a first resolution and a second mode for A/D converting the pixel signal read out by the readout unit with a second resolution that is higher than the first resolution, and a control unit that switches between the first mode and the second mode in accordance with the pixel signal read out from the pixel array.

BACKGROUND OF THE INVENTION

Field of the Invention

The present invention relates to an image capturing apparatus.

Description of the Related Art

In recent years, as an automatic focus detection technique, there is atechnique called an on-imaging plane phase difference method. In thistechnique, photoelectric conversion is performed on a pair of subjectimages formed by light beams that have passed through two differentareas (hereinafter, referred to as pupil areas) in an exit pupil of animaging optical system, using a plurality of pixels for focus detectionprovided on an image sensor, in order to obtain a pair of picturesignals from these pixels. A relative position shift amount(hereinafter, referred to as an image shift value) between these picturesignals is then calculated by calculating the correlation of this pairof picture signals, and a focus shift amount (hereinafter, referred toas a defocus amount) indicating the focus state of the imaging opticalsystem is calculated from this image shift value.

For example, in Japanese Patent Laid-Open No. 2013-236362, aconfiguration is adopted in which one microlens having a convergingaction and two photodiodes (hereinafter, referred to as PDs) areprovided for one focus detection pixel, and these two PDs receive lightbeams from the two pupil areas. The above-described pair of picturesignals can be obtained by providing a plurality of the above focusdetection pixels in the image sensor.

In addition, in Japanese Patent Laid-Open No. 2012-80195, two focusdetection pixel groups that are different in the direction in which anopening of a wiring layer provided in front of the PDs is shiftedrelative to the pixel center are provided in the image sensor. These twofocus detection pixel groups receive light beams from the two pupilareas, and thereby a pair of picture signals can be obtained.

Incidentally, output signals from focus detection pixels used in animaging plane phase difference detection method are used for focusdetection, and thus high resolution is also demanded when A/D conversionis performed. However, there is a possibility that, if the resolutionduring A/D conversion is lowered in order to speed up A/D conversion,the resolution of the output signals of the focus detection pixels willbe lowered, and as a result, the defocus amount detection accuracy willdecrease.

SUMMARY OF THE INVENTION

The present invention has been made in light of the above-describedproblem, and makes it possible to read out pixel signals at a high speedwhile suppressing deterioration in the accuracy of focus detection, inan image capturing apparatus for performing automatic focus detection byan imaging plane phase difference detection method.

According to a first aspect of the present invention, there is providedan image capturing apparatus comprising: a pixel array that has aplurality of image forming pixels and a plurality of focus detectionpixels; a readout unit that reads out a pixel signal from the pixelarray; an A/D conversion unit that has a first mode for A/D convertingthe pixel signal read out by the readout unit with a first resolutionand a second mode for A/D converting the pixel signal read out by thereadout unit with a second resolution that is higher than the firstresolution; and a control unit that switches between the first mode andthe second mode in accordance with the pixel signal read out from thepixel array.

According to a second aspect of the present invention, there is providedan image capturing apparatus comprising: a pixel array that has aplurality of unit pixels that each include a plurality of photoelectricconversion elements that receive light beams that have passed throughdifferent areas of an exit pupil of an imaging optical system; a readoutunit that reads out a pixel signal from the pixel array; an A/Dconversion unit that has a first mode for A/D converting the pixelsignal read out by the readout unit with a first resolution and a secondmode for A/D converting the pixel signal read out by the readout unitwith a second resolution that is higher than the first resolution; and acontrol unit that switches between the first mode and the second mode inaccordance with the pixel signal read out from the pixel array.

Further features of the present invention will become apparent from thefollowing description of exemplary embodiments with reference to theattached drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a diagram showing the configuration of an image sensor in afirst embodiment of the present invention.

FIG. 2 is a diagram showing the electrical configuration of a pixel ofthe image sensor.

FIGS. 3A and 3B are respectively a plan view and a cross-sectional viewof image forming pixels of the image sensor.

FIGS. 4A and 4B are a cross-sectional view and a plan view of focusdetection pixels of the image sensor.

FIG. 5 is a diagram showing the pixel arrangement of image formingpixels and focus detection pixels of the image sensor.

FIG. 6 is a block diagram of an image capturing apparatus in the firstembodiment.

FIGS. 7A and 7B are timing diagrams of A/D conversion in the firstembodiment.

FIG. 8 is a diagram illustrating the output timing of pixels in thefirst embodiment.

FIG. 9 is a flowchart showing a reference voltage determinationprocedure in the first embodiment.

FIG. 10 is a flowchart showing a reference voltage determinationprocedure in the first embodiment.

FIG. 11 is a diagram illustrating the time required for A/D conversionin the first embodiment.

FIG. 12 is a flowchart showing a reference voltage determinationprocedure in the first embodiment.

FIG. 13 is a diagram of the electrical configuration of a pixel in asecond embodiment.

FIGS. 14A, 14B and 14C are respectively a plan view and across-sectional view of image forming pixels of an image sensor in thesecond embodiment, and an enlarged view of FIG. 14A.

FIGS. 15A and 15B are diagrams illustrating the output timing of pixelsin the second embodiment.

FIG. 16 is a flowchart showing a reference voltage determinationprocedure in the second embodiment.

DESCRIPTION OF THE EMBODIMENTS

Embodiments of the present invention will be described below in detailwith reference to the attached drawings.

First Embodiment

A first embodiment of the present invention will be described taking animage capturing apparatus that uses an image sensor in which a pluralityof focus detection pixels are discretely arranged on an imaging plane asan example. FIG. 1 is a block diagram showing the configuration of theimage sensor in the first embodiment of the present invention. In FIG.1, an image sensor 606 has pixels 101, a pixel array 102, a verticalscanning circuit 103, column signal lines 104, column processingcircuits 105, a horizontal scanning circuit 106, a reference voltagegeneration unit 107, a timing control circuit 108 (hereinafter, referredto as TG) and control lines 110. The image sensor 606 further hasdigital-to-analog conversion circuits DAC1 (109 a) and DAC2 (109 b), aswitch SW11 (110), a selector SEL11 (111), a comparator COMP11 (112) anda counter 11 (113).

The pixel array 102 is constituted by a large number of pixels 101 thatare arranged two-dimensionally. The pixel 101 includes a photoelectricconversion portion such as a photodiode, a transfer transistor, a resettransistor, an amplifier transistor and a pixel selection transistor.Detailed description will be given later with reference to FIG. 2.Signal readout from pixels and pixel reset are performed in units ofrows, and thus pixels in one row are each connected in common to acontrol line 110 extending from the vertical scanning circuit 103. Also,pixels in the same column are connected to a common column signal line104 for reading out pixel signals Vsig.

The vertical scanning circuit 103 sequentially selects pixel rows inorder to control readout rows and reset rows. A scanning timing iscontrolled by TG108. Usually, first, reset scanning is performed fromthe first pixel row in order, and after that, electric charges areaccumulated for a predetermined time period, and readout scanning isagain performed from the first pixel row in order. The above-describedpredetermined time period that is the time period during which electriccharges are accumulated is controlled by receiving a signal from TG108,for example, and is changed in accordance with imaging conditions suchas the light amount of the subject. Also, this time period during whichelectric charges are accumulated is referred to as an exposure timeperiod, and indicates a time period from a reset completion timing untilreadout start.

The column processing circuit 105 is constituted to include SW11 (110),SEL11 (111), COMP11 (112) and the counter 11. The column processingcircuit 105 is provided for each column of the pixel array 102, andoperates as an A/D conversion circuit for converting, into a digitalsignal, a pixel signal Vsig that is on the column signal line 104 andhas been read out. Note that in this embodiment, a column processingcircuit of the first column will be described, but the column processingcircuits of the other columns perform similar operations.

SEL11 (111) performs signal comparison in a wide range, and selectswhether to perform A/D conversion with a first resolution (a firstmode), or to perform signal comparison in a narrow range and perform A/Dconversion with a second resolution that is higher than the firstresolution (a second mode). This circuit compares the signal level of apixel signal Vsig to a reference voltage VREF. If the signal level ofthe pixel signal Vsig is higher than or equal to the reference voltageVREF, this circuit outputs High, and otherwise outputs Low. A comparisoncircuit (not illustrated) is used for the comparison with the referencevoltage VREF, but the comparison circuit used here does not need to havean accuracy as high as that of COMP11 (112) above. In the case where thesignal level of the pixel signal Vsig is at least higher than or equalto the signal level of the reference voltage VREF, it suffices thatsignal comparison is performed in a wide range and selection is switchedso that A/D conversion with a low data resolution is performed. Notethat the reference voltage VREF can take three different types ofvoltage values.

SW11 (110) selects Vref2 as a reference voltage used for comparisonperformed by COMP11 (112) in the case where SEL11 (111) is High, andselects Vref1 in the case where SEL11 (111) is Low. The referencevoltage Vref1 having a ramp waveform realizes A/D conversion with a highdata resolution for performing signal comparison in a narrow range. Achange amount per unit time of the reference voltage Vref2 having a rampwaveform is four times that of the reference voltage Vref1, and thereference voltage Vref2 having a ramp waveform realizes A/D conversionwith a low data resolution for performing signal comparison in a widerange.

The counter 11 compares a pixel signal Vsig to the reference voltageVref1 or Vref2 that has a ramp waveform and has been selected by SW11(110), and counts from comparison start until an output value having aramp waveform matches the pixel signal Vsig or is inverted. The countvalue obtained at this time is output as a digital signal. The digitalsignal that has been output has a different data resolution depending onthe selected ramp waveform, and is therefore input to an imaging signalprocessing circuit at a later stage to undergo correction processingsuch as bit shift processing in the imaging signal processing circuit.The reference voltages Vref1 and Vref2 are generated as ramp waveformsin DAC1 (109 a) and DAC2 (109 b) based on digital signals CS1 and CS2output from TG108, respectively.

FIG. 2 is a circuit diagram showing the configuration of the pixel 101.The same reference signs are given to the constituent elements that aresame as those in FIG. 1. The pixel 101 is constituted to include aphotodiode 201, a transfer transistor 202, a reset transistor 203, anamplifier transistor 204, a selection transistor 205 and a currentsource 206. The photodiode 201 generates electric charges byphotoelectric conversion. There are two types of pixels, namely, animage forming pixel and a focus detection pixel in the pixel 101. Theimage forming pixel is a pixel for obtaining an image signal, and thefocus detection pixel forms a pair of picture signal obtaining pixelsused for calculating a defocus amount required when performing automaticfocus detection. The structure of the photodiode 201 is differentbetween the image forming pixel and the focus detection pixel. Detaileddescription will be given later.

The transfer transistor 202 transfers electric charges accumulated inthe photodiode 201 to a floating diffusion unit FD, in accordance with acontrol pulse φT. The amplifier transistor 204 amplifies the electriccharges on the floating diffusion unit FD by performing source followerreadout. The reset transistor 203 resets the electric charges on thefloating diffusion unit FD to a power supply potential in accordancewith a control pulse φR. The selection transistor 205 outputs an outputsignal of the amplifier transistor 204 to the column signal line 104 inaccordance with a control pulse φSEL. The current source 206 isconnected the column signal line 104. The pixel 101 may have not onlythe configuration in FIG. 2 but also a configuration in which pixelselection control is performed based on a potential that is set in thefloating diffusion unit FD, without the selection transistor 205, aconfiguration in which a plurality of photodiodes 201 share the commonamplifier transistor 204, and the like.

FIGS. 3A and 3B and FIGS. 4A and 4B are diagrams respectivelyillustrating the cross-sectional structures of image forming pixels andfocus detection pixels. In this embodiment, a Bayer array is adoptedaccording to which pixels (G pixels) having spectral sensitivity for G(green) are arranged as two diagonal pixels in 4 pixels consisting of 2rows×2 columns, and pixels (a R pixel and a B pixel) respectively havingspectral sensitivity for R (red) and B (blue) are arranged as each ofthe two remaining pixels. Additionally, in this Bayer array, focusdetection pixels having a structure shown in FIGS. 4A and 4B arediscretely arranged according to a predetermined rule.

FIGS. 3A and 3B are diagrams showing the arrangement and configurationof image forming pixels. FIG. 3A is a plan view of image forming pixelsin 2 rows×2 columns. As is well known, in a Bayer array, G pixels arearranged in the diagonal direction, and an R pixel and a B pixel arearranged as the two remaining pixels. This structure of 2 rows×2 columnsis repeatedly arranged. FIG. 3B shows a cross section at A-A in FIG. 3A.

An image forming pixel has an on-chip microlens ML arranged in thefrontmost of the pixel, and one of an R (red) color filter CFR, a G(green) color filter CFG and a B (blue) color filter CFB. The imageforming pixel further has a PD (the photodiode 201) and a wiring layerCL for forming a signal line for transmitting various signals in theCMOS sensor. The image forming pixel receives light that has passedthrough an exit pupil EP of an imaging optical system TL.

The on-chip microlens ML and the photodiode PD of the image formingpixel are configured to take in a light beam that has passed through theimaging optical system TL as effectively as possible. Specifically, theexit pupil EP and the photodiode PD of the imaging optical system TL hasa conjugate relationship due to the microlens ML, and the effective areaof the photodiode PD is designed to be as large as possible. In FIG. 3B,only a light beam that enters the R pixel is illustrated, but the Gpixel and the B pixel have the same structure. The imaging opticalsystem TL is designed such that the exit pupil EP corresponding to eachpixel has a large diameter, and a light beam from the subject iseffectively taken in in order to improve the S/N characteristics of animage signal as much as possible.

FIGS. 4A and 4B are diagrams showing the arrangement and structure offocus detection pixels for performing pupil division in the horizontaldirection (sideways) of a photographing lens. FIG. 4A is a plan view ofpixels in 2 rows×2 columns including focus detection pixels. In the caseof obtaining imaging signals, G pixels constitute a main component ofluminance information. Also, since the image recognition characteristicsof humans are sensitive to luminance information, image qualitydeterioration is easily recognized if G pixels are damaged. On the otherhand, R pixels or B pixels are pixels for obtaining color information,but humans are insensitive to color information, and thus if slightdamage is caused in the pixels for obtaining color information, imagequality deterioration is not easily notified. Therefore, in thisembodiment, out of the pixels in 2 rows×2 columns, the G pixels remainas image forming pixels, and a portion of the R pixel and a portion ofthe B pixel serve as focus detection pixels. In FIG. 4A, these aredenoted by SA and SB (respectively, an SA pixel and an SB pixel). InFIGS. 4A and 4B, the SA pixel and the SB pixel are adjacent in anoblique direction, but this arrangement does not necessarily need to beadopted.

FIG. 4B shows the cross section A-A when the SA pixel and the SB pixelin FIG. 4A are arranged side by side. The focus detection pixel has theon-chip microlens ML arranged frontmost of the pixel and a W (white)color filter CFW. Furthermore, the focus detection pixel has a PD (thephotodiode 201) and a wiring layer CL for forming a signal line fortransmitting various signals in the CMOS sensor. The SA pixel has anopening portion OPHA, the SB pixel has an opening portion OPHB, and theopening portion OPHA and the opening portion OPHB respectively receivelight that has passed through an exit pupil EPHA on the left side of aphotographing lens TL and an exit pupil EPHB on the right side of thephotographing lens TL.

The structure of the microlens ML and the photodiode PD is the same asthat of the image forming pixel shown in FIG. 3B. In this embodiment, asignal of the focus detection pixel is not used for generating an outputimage, and therefore a transparent film (White) is arranged on the colorfilter CFW, instead of a color filter for color separation. Also, due topupil division being performed in the image sensor, the opening of thewiring layer CL is arranged so as to be shifted in one directionrelative to the centerline of the microlens ML. Specifically, the SApixel and the opening portion OPHA thereof are arranged so as to beshifted on the right side, and thus a light beam that has passed throughthe exit pupil EPHA on the left side of the photographing lens TL isreceived. Similarly, the opening portion OPHB of the SB pixel isarranged so as to be shifted on the left side, and therefore a lightbeam that has passed through the exit pupil EPHB on the right side ofthe photographing lens TL is received. Therefore, the SA pixels areregularly arranged in the horizontal direction, and a subject imageobtained with a pixel group of these pixels is assumed to be an A image.The SB pixels are also regularly arranged in the horizontal direction,and a subject image obtained with a pixel group of these pixels isassumed to be a B image. Accordingly, an image shift value can becalculated from the A image and the B image, and a defocus amount of thesubject image can be calculated from this image shift value. Moreover,in the case where it is desired to detect a defocus amount in thevertical direction (column direction), it suffices to adopt aconfiguration in which the SA pixels and the opening portions OPHAthereof are arranged so as to be shifted upward, and the SB pixels andthe opening portions OPHB thereof are arranged so as to be shifteddownward.

FIG. 5 is a pixel arrangement diagram showing the arrangement of aplurality of image forming pixels and a plurality of focus detectionpixels in this embodiment. In FIG. 5, reference signs R, G and B areassigned to R pixels, G pixels and B pixels described with reference toFIGS. 3A and 3B. Also, reference signs SA and SB are assigned to SApixels and SB pixels described with reference to FIGS. 4A and 4B.Regarding the pixel arrangement of the focus detection pixels, an SApixel and an SB pixel form a pixel pair, and pixel pairs are arranged atequal intervals. In addition, considering that a focus detection pixelgroup cannot be used for capturing an image, the pixel pairs arediscretely arranged at an interval to a certain degree in the X and Ydirections, in this embodiment.

FIG. 6 is a diagram showing the block configuration of an imagecapturing apparatus that uses the image sensor shown in FIG. 1. In FIG.6, an image capturing apparatus 1000 has a lens unit 601, a lens drivingunit 602, a mechanical shutter 603, an aperture 604, a mechanicalshutter/aperture driving unit 605, the image sensor 606, an imagingsignal processing circuit 607 and an overall control calculation unit609. A recording medium control interface unit 610, a recording medium612, an operation unit 615 and a memory unit II 614 are connected to theoverall control calculation unit 609. Also, a memory unit I 608, adisplay unit 611 and an external interface unit 613 are connected to theoverall control calculation unit 609 via a bus.

In FIG. 6, the image sensor 606 is the image sensor described withreference to FIGS. 1 to 5. Subject light that has passed through thelens unit 601 is adjusted to an appropriate light amount by the aperture604, and forms a subject image on the image sensor 606. The subjectimage (image signals) captured with the image forming pixels of theimage sensor 606 is subjected to correlated double sampling, gainadjustment and A/D conversion from analog signals into digital signals,in peripheral circuits of the image sensor 606. The subject image as R,Gr, Gb and B signals is then sent to the imaging signal processingcircuit 607. The imaging signal processing circuit 607 performs varioustypes of image signal processing such as low-pass filter processing,shading processing for reducing noise, and WB processing, in addition,various types of correction such as defect correction, dark shadingcorrection and black image subtraction processing, compression, and thelike, and generates image signals.

The subject image obtained with the focus detection pixels of the imagesensor 606 is subjected to correlated double sampling, gain adjustmentand A/D conversion from analog signals into digital signals, in theperipheral circuitries of the image sensor 606, and is sent to theimaging signal processing circuit 607. In the imaging signal processingcircuit 607, an image shift value is calculated from an A image that isa subject image additionally obtained from the pixel group of the SApixels and a B image that is a subject image obtained from the pixelgroup of the SB pixels. Furthermore, a defocus amount is calculated froman image shift value X, and is stored in the memory unit II 614. Basedon this defocus amount, the overall control calculation unit 609instructs the lens driving unit 602 to move the lens unit 601, andthereby automatic focus adjustment is performed.

The mechanical shutter 603 mechanically controls the irradiation time oflight that enters the aperture 604 and the image sensor 606 atlater-stages. Driving of these mechanical shutter 603 and aperture 604is controlled by the shutter/aperture driving unit 605. The overallcontrol calculation unit 609 performs overall control of the imagecapturing apparatus and various types of calculation. The memory unit I608 temporarily stores image data. The recording medium controlinterface unit 610 records image data in the recording medium 612 orreads out image data from the recording medium 612. The display unit 611displays image data. The recording medium 612 is a removable storagemedium such as a semiconductor memory, and records image data or is usedfor reading out image data. The external interface unit 613 is aninterface for performing communication with an external computer and thelike. The memory unit II 614 stores a calculation result of the overallcontrol calculation unit 609. Information regarding a driving conditionof the image capturing apparatus set by the user using the operationunit 615 is sent to the overall control calculation unit 609, andoverall control of the image capturing apparatus is performed based onsuch information.

FIGS. 7A and 7B are diagrams illustrating an operation of A/D conversionof the solid-state image sensor shown in FIG. 1. The A/D conversionoperation is different between the case of A/D converting a noise signalVNsig for not reading out electric charges generated in the photodiode201 in the pixel 101 and the case of A/D converting a pixel signal VSsigfor reading out electric charges generated in the photodiode 201 in thepixel 101. The A/D conversion operation is also different between thecase where the pixel signal VSsig is relatively large and the case wherethe pixel signal VSsig is relatively small.

The Case where Pixel Signal VSsig is Relatively Small

FIG. 7A is a diagram illustrating an A/D conversion operation in thecase where the voltage level of a pixel signal VSsig is lower than areference voltage VREF (threshold), if the reference voltage VREF equalsVb. An operation of reading out a noise signal VNsig and the pixelsignal VSsig in the stated order, and performing A/D conversion will bedescribed.

Output of SEL11 (111) is set to Low until a time t0 immediately beforethe noise signal VNsig is read out and A/D conversion is started. SW11(110) selects Vref1 as the reference voltage used for comparisonperformed by COMP11 (112), in accordance with the output of SEL11 (111)being Low. From the time t0 to a time t1, the reference voltage Vref1changes in a ramp waveform, and the counter 11 (113) performs downcounting by one for each clock with 10 bit accuracy, thereby carryingout an A/D conversion operation.

At the time t1, an output signal of COMP11 (112) changes from Low toHigh in accordance with the value of Vref1 having become larger than thenoise signal VNsig. The counter 11 (113) stops down counting inaccordance with the output signal of COMP11 (112) having changed toHigh. The count value of the counter (113) at this time is a valueobtained by converting the noise signal VNsig into a digital value.

After that, the pixel signal VSsig is read out. SEL11 (111) compares theoutput level of the pixel signal VSsig that has been read out to thereference voltage VREF (=Vb). If the output level of the pixel signalVSsig is larger than or equal to the reference voltage VREF (=Vb), SEL11(111) outputs High, and otherwise outputs Low. In the case of FIG. 7A,the pixel signal VSsig is smaller than Vb, and thus the output signal ofSEL11 (111) will be Low. SW11 (110) selects Vref1 as the referencevoltage to be used for comparison performed by COMP11 (112), inaccordance with the output signal of SEL11 being Low.

At a time t2, COMP11 (112) is set to Low when reference voltageselection is complete, and the reference voltage Vref1 is changed to aramp waveform from the time t2 to a time t3. The counter 11 (113)performs up counting by one for each clock with 10 bit accuracy, therebycarrying out an A/D conversion operation. At the time t3, the outputsignal of COMP11 (112) changes from Low to High, in accordance with thevalue of the reference voltage Vref1 having become larger than the pixelsignal VSsig. The counter 11 (113) stops up counting in accordance withthe output signal of COMP11 (112) having changed to High. After that,the pixel signal VSsig that has been converted into a digital signal asthe count value of the counter (113) is input to the downstream imagingsignal processing circuit 607, and is subjected to various types ofimage signal processing.

In this first embodiment, an A/D conversion selection time period isprovided before starting to change the reference voltage Vref1 to a rampwaveform, and during this time period, SEL11 (111) selects a referencevoltage for A/D conversion.

In FIG. 7A, the pixel signal VSsig is smaller than the reference voltageVREF (=Vb) of SEL11 (111), and thus the output of SEL11 (111) is Low.Vref1 is selected as a reference voltage in accordance with the outputof SEL11 (111). The counter 11 (113) performs a counting-up operation byone count for each clock, and stops the counting operation when theoutput signal of COMP11 (112) is switched to High. The count value ofthe counter 11 (113) is set so as to be output without being bitshifted. As described above, in the case where the output level of thepixel signal VSsig is lower than the reference voltage VREF (=Vb), anoperation of comparing with a reference voltage in a narrow range isperformed, and thereby high resolution A/D conversion can be performed.Moreover, in this embodiment, both the pixel signal VSsig and the noisesignal VNsig are subjected to A/D conversion with the same resolution.Therefore, S-N processing for subtracting the level of the noise signalVNsig from the output level of the pixel signal VSsig can be realizedsimply by changing the counting direction of the pixel signal VSsig andthe noise signal VNsig.

The Case where Pixel Signal Vssig is Relatively Large

On the other hand, FIG. 7B is a diagram illustrating an A/D conversionoperation in the case where the voltage level of a pixel signal VSsig islarger than or equal to a reference voltage VREF (=Vb). Similarly toFIG. 7A, an operation of reading out a noise signal VNsig and the pixelsignal VSsig in the stated order and performing A/D conversion will bedescribed.

Similarly to FIG. 7A, output of SEL11 (111) is set to Low by a time t0′,and SW11 (110) selects Vref1 as the reference voltage used forcomparison performed by COMP11 (112). The reference voltage Vref1 ischanged to a ramp waveform from the time t0′ to a time t1′, and thecounter 11 (113) performs down counting by one for each clock with 10bit accuracy, thereby carrying out an A/D conversion operation of thenoise signal VNsig.

At the time t1′, an output signal of COMP11 (112) changes from Low toHigh in accordance with the value of the reference voltage Vref1 havingbecome larger than the noise signal VNsig. The counter 11 (113) stopsdown counting in accordance with the output signal of COMP11 (112)having changed to High. The count value of the counter 11 (113) at thistime is a value obtained by converting the noise signal VNsig into adigital value.

After that, the pixel signal VSsig is read out. SEL11 (111) compares theoutput level of the pixel signal VSsig that has been read out to thereference voltage VREF (=Vb). In the case of FIG. 7B, the pixel signalVSsig is larger than or equal to Vb, and thus the output of SEL11 (111)will be High. SW11 (110) selects Vref2 as the reference voltage used forcomparison performed by COMP11 (112), in accordance with the output ofSEL11 (111) being High. Moreover, due to the four-time difference ininclination between the reference voltage Vref1 and the referencevoltage Vref2 caused in accordance with the output of SEL11 (111) haschanged to High, the value counted by the counter 11 (113) is shifted bytwo bits on the lower-order bit side.

At a time t2′, COMP11 (112) is set to Low when reference voltageselection is complete, and the reference voltage Vref2 is changed to aramp waveform from the time t2′ to a time t3′. The counter 11 (113)performs up counting by one for each clock with 10 bit accuracy, therebycarrying out A/D conversion of the pixel signal VSsig.

At the time t3′, the output of COMP11 (112) changes from Low to High inaccordance with the value of the reference voltage Vref2 having becomelarger than the pixel signal VSsig. The counter 11 (113) stops upcounting in accordance with the output of COMP11 (112) having changed toHigh. After the counter (113) is stopped, the pixel signal VSsig thathas been converted into a digital signal as the count value of thecounter 11 (113) is input to the downstream imaging signal processingcircuit 607. Due to the four-fold difference in inclination between thereference voltage Vref1 and the reference voltage Vref2, a bit shift isperformed by two bits on the higher-order bit side. After that, theimaging signal processing circuit 607 performs various types of imagesignal processing. Note that regarding a time period from the time t2 tot4 in FIG. 7A and a time period from the time t2′ to t4′ in FIG. 7B, thesame time is required.

In FIG. 7B, the pixel signal VSsig is larger than or equal to thereference voltage VREF (=Vb) of SEL11 (111), and thus the output ofSEL11 (111) is switched to High. As a result, Vref2 is selected as areference voltage. The counter 11 (113) performs an operation of upcounting by one for each clock, and stops up counting when COMP11 (112)changes to High. After that, the pixel signal VSsig that has beendigitized is input to the imaging signal processing circuit 607, and isshifted for two bits on the higher-order bit side, thereby taking avalue that is four times the count value. In this case, A/D conversionin a wide range is performed with a low resolution but at a high speed.

As described with reference to FIGS. 7A and 7B, the A/D conversion shownin FIG. 7A and the A/D conversion shown in FIG. 7B are switched inaccordance with whether or not the output level of the output signalVSsig of each pixel in the image is larger than the reference signal Vb(reference level). Digital data that underwent A/D conversion as in FIG.7A in the case where the output level is smaller than Vb (the referencelevel) and digital data that underwent A/D conversion as in FIG. 7B inthe case where the output level is larger than or equal to Vb (thereference level) are combined. This makes it possible to perform highresolution A/D conversion on a dark area in an image in which noise isconspicuous, and to perform A/D conversion on a bright area in whichnoise is not conspicuous, with a low resolution but at a relativelyhigher speed than in the dark area. The above-described technique forspeeding up A/D conversion makes it possible to improve the speed of A/Dconversion of image signals without deteriorating the image quality inthe image sensor, and to speed up the readout speed of the imagecapturing apparatus itself.

FIG. 8 is a diagram showing a pixel readout timing after an exposuretime period. In FIG. 8, a synchronization signal φSP is output fromTG108, a trigger signal φTRi controls a start timing of reading outimage forming pixels based on the synchronization signal φSP, and atrigger signal φTRf controls a start timing of reading out focusdetection pixels based on the synchronization signal φSP. After thetrigger signal φTRi changes to Hi, the image forming pixels are read outwhile skipping the focus detection pixels during a time period Ti. Afterthat, after the trigger signal φTRf rises to Hi, the focus detectionpixels skipped during the time period Ti are read out during a timeperiod Tf. Usually, the number of image forming pixels is larger thanthe number of focus detection pixels, and thus the time period Ti islonger than the time period Tf. Image signals are obtained based onpixel data read out from the image forming pixels, and picture signalsfor detecting a pair of image shift values are obtained from pixel dataread out from the focus detection pixels.

During the time period Ti, the signals of the image forming pixels areread out while skipping the focus detection pixels, and thus the imagesignal do not have pixel data at addresses at which the focus detectionpixels are present. In view of this, after the readout, pixel data atthe addresses at which the focus detection pixels are present isinterpolated by values calculated based on the signal output values ofsurrounding image forming pixels.

An operation of determining a reference voltage that serves as areference for switching a range for A/D conversion of pixel signals willbe described below with reference to FIGS. 9 to 11. Here, the referencevoltage VREF is assumed to take Va, Vb and Vc as three different values.Va is a reference voltage for always performing A/D conversion with ahigh resolution, Vb is a reference voltage for output signals from imageforming pixels, and Vc is a reference voltage for output signals fromfocus detection pixels.

The magnitude relationship between Va, Vb and Vc is assumed to be asfollows.

Va>Vb>Vc  (1)

Vc=Vb×α  (2)

Va≧Vsat  (3)

Note that α indicates a ratio of the sensitivity of a focus detectionpixel to the sensitivity of an image forming pixel, and 0<α<1 holdstrue. Also, Vsat indicates a voltage value at a saturation signal levelof a focus detection pixel.

FIG. 9 is a flowchart showing an operation of selecting the value of thereference voltage VREF that is different between the case of reading outfocus detection pixels and the case of reading out image forming pixels.

In step S901, the reference voltage VREF is switched in synchronizationwith trigger signals φTRi and φTRf output from TG108 in the image sensor606. Specifically, in the case of the time period Tf during which focusdetection pixels are read out, the procedure advances to step S902, andin the case of the time period Ti during which image forming pixels areread out, the procedure advances to step S903. In step S902, theprocedure ends with reference voltage VREF=Vc. In step S903, theprocedure ends with reference voltage VREF=Vb.

Accordingly, the reference voltage VREF is switched between imageforming pixels and focus detection pixels. This makes it possible toperform more accurate A/D conversion on focus detection pixels whosesensitivity is relatively low compared to image forming pixels, in thecase where the pixel signal VSsig is lower than Vc.

FIG. 10 is a flowchart showing an operation of selecting a value of thereference voltage VREF in accordance with the f-number of the aperturethat is a shooting condition in a moving image mode. In this embodiment,in the flowchart shown in FIG. 10, a reference voltage for only thefocus detection pixel out of two types of pixels, namely, the imageforming pixel and the focus detection pixel, is determined.

In step S1001, a shooting condition recorded in the memory unit II 614is obtained. In step S1002, it is determined whether or not the f-numberof the aperture that is a shooting condition is greater than a thresholdFth. If the f-number of the aperture is greater than the threshold Fth(the aperture is relatively narrowed), the procedure advances to stepS1003, and if the f-number of the aperture is smaller than or equal tothe threshold Fth (the aperture is relatively open), the procedureadvances to step S1004. In step S1003, the procedure ends with referencevoltage VREF=Va. In step S1004, the procedure ends with referencevoltage VREF=Vc.

Specifically, in the case where the f-number of the aperture is greaterthan the predetermined value and the reference voltage VREF equals Va,SEL11 (111) compares Va to the output level of a pixel signal VSsig thathas been read out, and outputs Low since the pixel signal VSsig isalways smaller than Va. Therefore, the reference voltage when performingA/D conversion is Vref1, and A/D conversion at low speed but with a highbit accuracy can be performed. In other words, in the case where thef-number of the aperture is large and thus focus detection is difficultto perform with focus detection pixels, A/D conversion takes a longtime, but highly accurate output signals can be obtained, and thedifficulty in focus detection can be reduced.

On the other hand, in the case where the f-number of the aperture issmaller than or equal to the predetermined value, and the referencevoltage VREF equals Vc, SEL11 (111) outputs High. Therefore, thereference voltage when performing A/D conversion is Vref2, and outputsignals can be obtained with a low bit accuracy but at a high speed, andfocus detection can be performed at a high speed.

Here, the difference in A/D conversion accuracy and a time required forA/D conversion between the case where the reference voltage VREF equalsVa and the case where the reference voltage VREF equals Vc will bedescribed with reference to FIG. 11. In the case where the referencevoltage VREF equals Vc, if the pixel signal VSsig is larger than Vc, thereference voltage Vref2 is selected, and A/D conversion is performedwith 10 bit accuracy from a time t0″ to t1″. Also, if the pixel signalVSsig is smaller than Vc, the reference voltage Vref1 is selected, andA/D conversion is performed with 10 bit accuracy from the time t0″ tot1″. In the case where the reference voltage VREF equals Va, thereference voltage Vref1 is selected since the pixel signal VSsig isalways smaller than Va, and A/D conversion is performed with 12 bitaccuracy from the time t0″ to a time t2″.

As described above, an A/D conversion time in the case where thereference voltage VREF equals Va is a time that is four times longerthan that in the case where the reference voltage VREF equals Vc. On theother hand, the bit accuracy of A/D conversion in the case where thereference voltage VREF equals Va is improved to four times the bitaccuracy of A/D conversion in the case where the pixel signal VSsig islarger than Vc and the reference voltage VREF equals Vc.

In FIG. 10, the reference voltage VREF is determined in accordance withthe f-number of the aperture, but the reference voltage VREF may bedetermined in accordance with whether or not a scene that is shot is ascene that is difficult to perform automatic focus detection on. Anoperation of selecting a reference voltage VREF in accordance withwhether or not a scene that is shot is a scene that is difficult toperform automatic focus detection on in a moving image mode will bedescribed with reference to FIG. 12. In this embodiment, in theflowchart shown in FIG. 12, a reference voltage for only the focusdetection pixel out of two types of pixels, namely, the image formingpixel and the focus detection pixel, is be determined.

In step S1101, in the case of being the first frame, the procedureadvances to step S1104, and in the case of not being the first frame,the procedure advances to step S1102. In step S1102, the defocus amountof the immediately preceding frame (previous operation) is obtained fromthe memory II 614. In step S1103, an obtained defocus amount X iscompared to a threshold Xth. If the defocus amount X is smaller than thethreshold Xth, the procedure advances to step S1104, and if the defocusamount X is greater than or equal to the threshold Xth, the procedureadvances to step S1105. In step S1104, the procedure ends with referencevoltage VREF=Va. In step S1105, the procedure ends with referencevoltage VREF=Vc.

Specifically, in the case where the defocus amount X between the A imageand the B image is small, and the reference voltage VREF equals Va,SEL11 (111) compares Va to the output level of the pixel signal VSsigthat has been read out, and outputs Low since the pixel signal VSsig isalways smaller than Va. Therefore, the reference voltage when performingA/D conversion is Vref1, and A/D conversion at a low speed but with ahigh accuracy can be performed. Accordingly, in focus detection pixels,if the defocus amount X required for focus detection calculation is notsufficiently large, A/D conversion takes a long time but highly accurateoutput signals can be obtained, and the difficulty in focus detectioncan be reduced.

On the other hand, in the case where the defocus amount X between the Aimage and the B image is large and the reference voltage VREF equals Vc,SEL11 (111) outputs High. Therefore, a reference voltage when performingA/D conversion will be Vref2, and output signals can be obtained with alow accuracy but at a high speed, and focus detection can be performedat a high speed.

If the output level of focus detection pixels is low output, A/Dconversion can be performed with a higher resolution compared to thecase where the same reference voltage is used for focus detection pixelsand image forming pixels, by changing the reference voltage VREF betweenthe image forming pixels and the focus detection pixels in this manner.

Furthermore, under a shooting condition that the f-number of theaperture is greater than a predetermined value, which deteriorates theaccuracy of defocus amount detection with focus detection pixel, or whenshooting a scene that is difficult to perform automatic focus detectionon, deterioration in focus detection accuracy can be reduced by settinga reference voltage that gives priority to accuracy.

As described above, in this embodiment, in an image sensor that has bothfocus detection pixels and image forming pixels, and to which techniquesfor speeding up A/D conversion are applied, a timing for switching thetechniques for speeding up A/D conversion is separately set for each ofthe focus detection pixels and the image forming pixels. This makes itpossible to provide an image sensor that has an appropriate balancebetween SN characteristics, dynamic range characteristics, readout speedand automatic focus detection performance.

Second Embodiment

A second embodiment the present invention will be described below. Thissecond embodiment will be described, taking an image capturing apparatusin which pixels that each have two adjacent photodiodes are arrangedover the entire imaging plane of an image sensor as an example. Thesecond embodiment of the present invention will be described below withreference to FIGS. 1, 6, 7A, 7B and 10 to 16.

The schematic configuration of the image sensor of this embodiment issimilar to the configuration described with reference to FIG. 1 in thefirst embodiment, and thus description thereof is omitted. Note that, inthis embodiment, the basic configuration and operation of the imagecapturing apparatus and the basic configuration and operation of theimage sensor are similar to those of the first embodiment, and thusdescription will be given using the same figures and reference signs.

A configuration example of the pixel 101 in the image sensor in FIG. 1will be described with reference to FIG. 13. The same reference signsare assigned to the same constituent elements as those of FIG. 1. Thepixel 101 includes two photodiodes (photoelectric conversion elements)1201 r and 1201 l, two transfer transistors 1202 r and 12021, a resettransistor 1203, an amplifier transistor 1204, a selection transistor1205 and a current source 1206. The transfer transistors 1202, the resettransistor 1203, the amplifier transistor 1204, the selection transistor1205 and the current source 1206 are similar to those described withreference to FIG. 2 in the first embodiment, and thus descriptionthereof is omitted here.

The pixel 101 of the second embodiment has the photodiode 1201 r and thephotodiode 1201 l, which are connected to the same floating diffusionunit FD via the transfer transistor 1202 r and the transfer transistor12021, respectively.

The transfer transistor 1202 r and the transfer transistor 12021 arerespectively driven by control pulses φTRr and φpTRl, and transferelectric charges accumulated in the photodiode 1201 r and the photodiode1201 l to the floating diffusion unit FD. If the control pulses φTRr andφTRl are applied at the same time, the electric charges accumulated inthe photodiode 1201 r and the photodiode 1201 l can be combined on thefloating diffusion unit FD and read out.

FIGS. 14A and 14B are diagrams showing the arrangement and theconfiguration of pixels in the second embodiment. FIG. 14A is a planview of pixels in 2 rows×2 columns. As is well known, in a Bayer array,G pixels are arranged in the diagonal direction, and an R pixel and a Bpixel are arranged as the two remaining pixels. This structure of 2rows×2 columns is repeatedly arranged.

FIG. 14C is an enlarged view of FIG. 14A. One unit pixel (pixel) has anon-chip microlens (ML), and is constituted to include the twophotodiodes 1201 r and 1201 l. The photodiode 1201 l arranged on theleft side of the pixel is denoted by PDl, and the photodiode 1201 rarranged on the right side of the pixel is denoted by PDr.

FIG. 14B is an A-A cross-sectional view of FIG. 14A. The microlens MLand the photodiodes PDl and PDr are similar to those in FIG. 14C. Also,one pixel has a color filter CF, and a wiring layer CL for forming asignal line for transmitting various signals in the CMOS sensor. Thephotodiodes PDl and PDr receive light that has passed through an exitpupil EPHR on the right side of the imaging optical system TL relativeto the optical axis center and an exit pupil EPHL on the left side. Withthis configuration, pupil division is performed with the two photodiodes(PDs).

A subject image obtained with the photodiodes PDr is assumed to be an Aimage. Also, a subject image obtained with the photodiodes PDl isassumed to be a B image. A defocus amount of the subject images can thenbe calculated by calculating an image shift value from the A image andthe B image. Also, in the case where it is desired to calculate adefocus amount in the vertical direction (longitudinal direction), it issufficient that the two photodiodes PDr and PDl in one pixel arearranged side-by-side in the vertical direction.

The configuration of the image capturing apparatus in the secondembodiment is similar to that described with reference to FIG. 6 in thefirst embodiment, and thus detailed description is omitted. However, inthe second embodiment, as described with reference to FIGS. 13, 14A and14B, the pixel configuration and arrangement of the image sensor aredifferent. Therefore, operations of the image sensor 606 for obtainingan image signal and a pair of picture signals are different.

A pixel readout timing in the second embodiment will be described withreference to FIGS. 15A and 15B. FIG. 15A shows a readout timing in amode (hereinafter, referred to as Mode 1) for outputting only an imagesignal. Also, FIG. 15B shows a timing in a mode (referred to as Mode 2)for independently outputting an image signal and one picture signal outof a pair of picture signals (a signal of at least one photodiode withina unit pixel). Here, electric charges that underwent photoelectricconversion in the two photodiodes PDr and PDl in a pixel of the imagesensor 606 are respectively denoted by electric charges Qr and Ql. Notethat a synchronization signal φSP is output from TG108. A trigger signalφTRa controls a start timing of reading out the electric charge Qr ofthe photodiode PDr based on the synchronization signal φSP, and atrigger signal φTRb controls a start timing of reading out the electriccharge Ql of the photodiode PDl based on the synchronization signal φSP.

An operation in Mode 1 in this embodiment will be described withreference to FIG. 15A. The trigger signals φTRa and φTRb change to Hi atthe same time in synchronization with the fall of the synchronizationsignal φSP. After the trigger signals φTRa and φTRb change to Hi at thesame time, the electric charge Qr of the photodiode PDr and the electriccharge Ql of the photodiode PDl are read out during a time period Ta+b,and are combined on the FD, so as to obtain Qr+Ql. Note thataccumulation times for the electric charge Qr and the electric charge Qlare respectively time periods from reset operations performed at thesame time on the photodiode PDr and the photodiode PDl until φTRa andφTRb change to Hi, before the fall of the synchronization signal φSP. Inother words, the electric charge Qr and the electric charge Ql areregarded as signals obtained by being exposed for the same time periodat the same time of day.

After that, the electric charges Qr+Ql are subjected to gain adjustmentand A/D conversion from analog signals into digital signals, and aresent as signals Ra+b, Gra+b, Gba+b and Ba+b to the imaging signalprocessing circuit 607. The imaging signal processing circuit 607performs low-pass filter processing and shading processing for reducingnoise, various types of image signal processing such as WB processing,in addition, various types of correction such as defect correction, darkshading correction and black image subtraction processing, image signalcompression, and the like, and generates image data. A similar operationis repeated for every fall of the synchronization signal φSP.

On the other hand, an operation in Mode 2 will be described withreference to FIG. 15B. First, the trigger signal φTRa changes to Hi insynchronization with the fall of the synchronization signal φSP. At thistime, the trigger signal φTRb remains Low. After φTRa changes to Hi, theelectric charges Qr of the photodiodes PDr are read out during a timeperiod Ta. After that, the electric charges Qr are subjected to gainadjustment and A/D conversion from analog signals into digital signals,and are sent as pixel signals Ra, Gra, Gba and Ba to the imaging signalprocessing circuit 607. After waiting for a predetermined time period ΔTuntil an operation of reading out the electric charges Qr of thephotodiodes PDr is complete, the trigger signal φTRb changes to Hi.

After the trigger signal φTRb changes to Hi, the electric charges Ql ofthe photodiodes PDl are read out to the FD during the time period Ta+b,and are combined, on the FD, with the electric charges Qr of thephotodiodes PDr that have already been read out to the FD, so as toobtain Qr+Ql. After that, the electric charges Qr+Ql are subjected togain adjustment and A/D conversion from analog signals into digitalsignals, and are sent as the pixel signals Ra+b, Gra+b, Gba+b and Ba+bto the imaging signal processing circuit 607.

Exposure durations for the electric charge Qr and the electric charge Qlare respectively time periods from reset operations of the photodiodesof those electric charges until the trigger signals φTRa and φTRb changeto Hi, but timings when the trigger signals φTRa and φTRb change to Hiare different. Therefore, the reset operations of the photodiodes areperformed at different timings. Specifically, after waiting for thepredetermined time period ΔT after the reset operation of the photodiodePDr, the reset operation of the photodiode PDl is performed, before thefall of the synchronization signal φSP. Accordingly, the electric chargeQr and the electric charge Ql are exposed for the same time period atthe same time of day. A similar operation is repeated for every fall ofthe synchronization signal φSP.

The imaging signal processing circuit 607 generates pixel signals Rb,Grb, Gbb and Bb originated from the electric charges Ql of thephotodiodes PDl from the pixel signals Ra+b, Gra+b, Gba+b and Ba+b andpixel signals Ra, Gra, Gba and Ba. Furthermore, an image shift value ofan A image and a B image is calculated from the A image that isconstituted by the pixel signals Ra, Gra, Gba and Ba and is originatedfrom the photodiode PDr and the B image that is constituted by the pixelsignals Rb, Grb, Gbb and Bb and is originated from the photodiode PDl.Furthermore, a defocus amount X is calculated from the image shiftvalue, and is stored in the memory unit II 614. The overall controlcalculation unit 609 instructs the lens driving unit 602 to drive thelens unit 601, based on this defocus amount X, and a focus adjustmentoperation is performed. Whether to drive the image sensor 606 in Mode 1or to drive the image sensor 606 in Mode 2 is switched in accordancewith a control signal from the overall control calculation unit 609 toTG108 in the image sensor 606. A timing of an A/D conversion unit issimilar to that described with reference to FIGS. 7A and 7B in the firstembodiment, and thus the description thereof is omitted.

FIG. 16 is a flowchart showing an operation of determining a referencevoltage VREF for pixels in the second embodiment. An operation ofselecting the value of the reference voltage VREF that is differentbetween the case of driving the image sensor in Mode 1 and the case ofdriving the image sensor in Mode 2 will be described with reference toFIG. 16.

In step S1601, it is determined, based on a control signal from theoverall control calculation unit 609 to TG108 in the image sensor 606,whether or not the driving mode of the image sensor 606 is Mode 1. Ifthe driving mode is Mode 1, the procedure advances to step S1602, and ifthe driving mode is Mode 2, the procedure advances to step S1603. Instep S1602, the procedure ends with reference voltage VREF=Vb. In stepS1603, the procedure ends with reference voltage VREF=Va.

Specifically, in the case of a mode for reading out focus detectionpixels, it is possible to obtain automatic focus detection performancethat is always highly accurate by performing highly accurate A/Dconversion at all times. Also, in FIG. 16, in the case of a mode forreading out focus detection pixels, highly accurate A/D conversion wasalways performed. However, only under a condition under which it isdifficult to obtain a defocus amount when performing automatic focusdetection, such as in the case where the F-number of the aperture islarge or the case of a scene that is difficult to perform automaticfocus detection on, highly accurate A/D conversion may be performed. Anoperation of determining the reference voltage VREF in accordance withthe F-number of the aperture is similar to the operation shown in FIG.10. Also, an operation of determining the reference voltage VREF inaccordance with whether or not a scene that is shot is a scene that isdifficult to perform automatic focus detection on is similar to thatshown in FIG. 12.

In this embodiment, the case where the number of photodiodes PD in apixel is two has been described, but it is needless to say that the sameapplies if the number of photodiodes PD in a pixel is four or more.

As described above, in this embodiment, a method for setting a thresholdfor switching a reference signal of a ramp waveform used for A/Dconversion in accordance with a driving mode, a shooting condition, or ascene that is shot, in an image sensor that has a plurality ofphotodiodes PD in a pixel and to which a technique for speeding up A/Dconversion is applied, has been described. This method makes it possibleto provide an image sensor that has an appropriate balance between SNcharacteristics, dynamic range characteristics, readout speed, andautomatic focus detection performance.

Other Embodiments

Embodiment(s) of the present invention can also be realized by acomputer of a system or apparatus that reads out and executes computerexecutable instructions (e.g., one or more programs) recorded on astorage medium (which may also be referred to more fully as a‘non-transitory computer-readable storage medium’) to perform thefunctions of one or more of the above-described embodiment(s) and/orthat includes one or more circuits (e.g., application specificintegrated circuit (ASIC)) for performing the functions of one or moreof the above-described embodiment(s), and by a method performed by thecomputer of the system or apparatus by, for example, reading out andexecuting the computer executable instructions from the storage mediumto perform the functions of one or more of the above-describedembodiment(s) and/or controlling the one or more circuits to perform thefunctions of one or more of the above-described embodiment(s). Thecomputer may comprise one or more processors (e.g., central processingunit (CPU), micro processing unit (MPU)) and may include a network ofseparate computers or separate processors to read out and execute thecomputer executable instructions. The computer executable instructionsmay be provided to the computer, for example, from a network or thestorage medium. The storage medium may include, for example, one or moreof a hard disk, a random-access memory (RAM), a read only memory (ROM),a storage of distributed computing systems, an optical disk (such as acompact disc (CD), digital versatile disc (DVD), or Blu-ray Disc (BD)™),a flash memory device, a memory card, and the like.

While the present invention has been described with reference toexemplary embodiments, it is to be understood that the invention is notlimited to the disclosed exemplary embodiments. The scope of thefollowing claims is to be accorded the broadest interpretation so as toencompass all such modifications and equivalent structures andfunctions.

This application claims the benefit of Japanese Patent Application No.2016-047364, filed Mar. 10, 2016, which is hereby incorporated byreference herein in its entirety.

What is claimed is:
 1. An image capturing apparatus comprising: a pixelarray that has a plurality of image forming pixels and a plurality offocus detection pixels; a readout unit that reads out a pixel signalfrom the pixel array; an A/D conversion unit that has a first mode forA/D converting the pixel signal read out by the readout unit with afirst resolution and a second mode for A/D converting the pixel signalread out by the readout unit with a second resolution that is higherthan the first resolution; and a control unit that switches between thefirst mode and the second mode in accordance with the pixel signal readout from the pixel array.
 2. The image capturing apparatus according toclaim 1, wherein the plurality of focus detection pixels are discretelyarranged among the plurality of image forming pixels.
 3. The imagecapturing apparatus according to claim 1, wherein the control unitswitches between the first mode and the second mode in accordance with amagnitude relationship between a signal level of the pixel signal readout from the pixel array and a reference level.
 4. The image capturingapparatus according to claim 3, wherein the control unit performs A/Dconversion in the first mode in a case where the signal level of thepixel signal is higher than or equal to the reference level.
 5. Theimage capturing apparatus according to claim 3, wherein the control unitchanges the reference level between a case of reading out a signal ofthe image forming pixel and a case of reading out a signal of the focusdetection pixel.
 6. The image capturing apparatus according to claim 5,wherein the control unit sets the reference level to be lower in a caseof reading out the signal of the focus detection pixel than in a case ofreading out the signal of the image forming pixel.
 7. The imagecapturing apparatus according to claim 3, wherein the control unitchanges the reference level depending on an f-number of an aperture ofan imaging optical system.
 8. The image capturing apparatus according toclaim 7, wherein the control unit sets the reference level to high in acase where the f-number of the aperture of the imaging optical system islarger than a predetermined value.
 9. The image capturing apparatusaccording to claim 3, wherein the control unit changes the referencelevel in accordance with a scene of a subject to be shot.
 10. The imagecapturing apparatus according to claim 3, wherein the control unitchanges the reference level based on a defocus amount.
 11. An imagecapturing apparatus comprising: a pixel array that has a plurality ofunit pixels that each include a plurality of photoelectric conversionelements that receive light beams that have passed through differentareas of an exit pupil of an imaging optical system; a readout unit thatreads out a pixel signal from the pixel array; an A/D conversion unitthat has a first mode for A/D converting the pixel signal read out bythe readout unit with a first resolution and a second mode for A/Dconverting the pixel signal read out by the readout unit with a secondresolution that is higher than the first resolution; and a control unitthat switches between the first mode and the second mode in accordancewith the pixel signal read out from the pixel array.
 12. The imagecapturing apparatus according to claim 11, wherein the control unitswitches between the first mode and the second mode in accordance with amagnitude relationship between a signal level of the pixel signal readout from the pixel array and a reference level.
 13. The image capturingapparatus according to claim 12, wherein the control unit performs A/Dconversion in the first mode in a case where the signal level of thepixel signal is higher than or equal to the reference level.
 14. Theimage capturing apparatus according to claim 12, wherein the controlunit changes the reference level between a case of combining signals ofthe plurality of photoelectric conversion elements in the unit pixel andreading out the combined signal and a case of independently reading outat least one signal of the plurality of photoelectric conversionelements in the unit pixel.
 15. The image capturing apparatus accordingto claim 14, wherein the control unit sets the reference level to behigher in the case of independently reading out at least one signal ofthe photoelectric conversion elements in the unit pixel, than in thecase of combining signals of the photoelectric conversion elements inthe unit pixel and reading out the combined signal.
 16. The imagecapturing apparatus according to claim 12, wherein the control unitchanges the reference level depending on an f-number of an aperture ofan imaging optical system.
 17. The image capturing apparatus accordingto claim 16, wherein the control unit sets the reference level to highin a case where the f-number of the aperture of the imaging opticalsystem is larger than a predetermined value.
 18. The image capturingapparatus according to claim 12, wherein the control unit changes thereference level in accordance with a scene of a subject to be shot. 19.The image capturing apparatus according to claim 12, wherein the controlunit changes the reference level based on a defocus amount.